#include "Map.h"

#include<stdio.h>

int main()
{
	Map<int, int> m = Map<int, int>();
	int values[] = {4, 5, 1, 2, 7, 9, 11, 14, 19, 20};
	int keys[] =   {3, 2, 1, 0, 4, 9, 8, 7,  6,  5 };
	for(int i = 0; i < 10; i++)
	{
		m.add(keys[i], values[i]);
		
	}
	
	for(int i = 0; i < 10; i++)
	{
		printf("m.get(%d)==%d\n", i, m.get(i));
	}
	printf("Testing the remove now.\n");
	for(int i = 0; i < 10; i++)
	{
		printf("removing key %d \n", i);
		m.remove(i);
	}
	printf("Finished now\n");
	return 0;
}


